[INFO] fetching crate dbless 0.2.0...
[INFO] fixing dbless-0.2.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate dbless 0.2.0 into /workspace/builds/worker-5-tc2/source
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate dbless 0.2.0
[INFO] finished tweaking crates.io crate dbless 0.2.0
[INFO] tweaked toml for crates.io crate dbless 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dbless 0.2.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 15 packages to latest compatible versions
[INFO] [stderr]       Adding ctor v0.2.9 (available: v1.0.7)
[INFO] [stderr]       Adding redb v2.6.3 (available: v4.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5
[INFO] running `Command { std: "docker" "start" "43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling redb v2.6.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking rmp v0.8.15
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking rmp-serde v1.3.1
[INFO] [stderr]     Checking dbless v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/store.rs (3 fixes)
[INFO] [stderr]        Fixed src/lib.rs (2 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/store.rs:137:12
[INFO] [stdout]      |
[INFO] [stdout]  135 |         let tnx = db.begin_read()?;
[INFO] [stdout]      |             ---
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `tnx` calls a custom destructor
[INFO] [stdout]      |             `tnx` will be dropped later as of Edition 2024
[INFO] [stdout]  136 |         let table = open_table_read_or!(tnx, table, false);
[INFO] [stdout]      |             -----
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `table` calls a custom destructor
[INFO] [stdout]      |             `table` will be dropped later as of Edition 2024
[INFO] [stdout]  137 |         Ok(table.get(key)?.is_some())
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^
[INFO] [stdout]      |            |
[INFO] [stdout]      |            this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |            up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      |            this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |            up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  138 |     }
[INFO] [stdout]      |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree_base.rs:232:1
[INFO] [stdout]      |
[INFO] [stdout]  232 | impl<V: Value + 'static> Drop for AccessGuard<'_, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree_base.rs:232:1
[INFO] [stdout]      |
[INFO] [stdout]  232 | impl<V: Value + 'static> Drop for AccessGuard<'_, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `tnx` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree.rs:923:1
[INFO] [stdout]      |
[INFO] [stdout]  923 | impl<K: Key, V: Value> Drop for Btree<K, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `tnx` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/page_store/page_manager.rs:1268:1
[INFO] [stdout]      |
[INFO] [stdout] 1268 | impl Drop for TransactionalMemory {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `table` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/db.rs:280:1
[INFO] [stdout]      |
[INFO] [stdout]  280 | impl Drop for TransactionGuard {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `table` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree.rs:923:1
[INFO] [stdout]      |
[INFO] [stdout]  923 | impl<K: Key, V: Value> Drop for Btree<K, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/store.rs:137:12
[INFO] [stdout]      |
[INFO] [stdout]  135 |         let tnx = db.begin_read()?;
[INFO] [stdout]      |             ---
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `tnx` calls a custom destructor
[INFO] [stdout]      |             `tnx` will be dropped later as of Edition 2024
[INFO] [stdout]  136 |         let table = open_table_read_or!(tnx, table, false);
[INFO] [stdout]      |             -----
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `table` calls a custom destructor
[INFO] [stdout]      |             `table` will be dropped later as of Edition 2024
[INFO] [stdout]  137 |         Ok(table.get(key)?.is_some())
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^
[INFO] [stdout]      |            |
[INFO] [stdout]      |            this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |            up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      |            this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |            up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  138 |     }
[INFO] [stdout]      |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree_base.rs:232:1
[INFO] [stdout]      |
[INFO] [stdout]  232 | impl<V: Value + 'static> Drop for AccessGuard<'_, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree_base.rs:232:1
[INFO] [stdout]      |
[INFO] [stdout]  232 | impl<V: Value + 'static> Drop for AccessGuard<'_, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `tnx` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree.rs:923:1
[INFO] [stdout]      |
[INFO] [stdout]  923 | impl<K: Key, V: Value> Drop for Btree<K, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `tnx` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/page_store/page_manager.rs:1268:1
[INFO] [stdout]      |
[INFO] [stdout] 1268 | impl Drop for TransactionalMemory {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `table` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/db.rs:280:1
[INFO] [stdout]      |
[INFO] [stdout]  280 | impl Drop for TransactionGuard {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `table` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-2.6.3/src/tree_store/btree.rs:923:1
[INFO] [stdout]      |
[INFO] [stdout]  923 | impl<K: Key, V: Value> Drop for Btree<K, V> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/tests.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]    |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 52 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 53 | |         db.set("key2", &"value")?; // overwritten 2 lines later
[INFO] [stdout] 54 | |         db.set("key1", &"value")?;
[INFO] [stdout] 55 | |         db.set("key2", &1234)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |         assert_eq!(db.entries::<i32>()?.len(), 0);
[INFO] [stdout] 77 | |     })
[INFO] [stdout]    | |______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/tests.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]    |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 82 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 83 | |         assert!(db.get::<String>("key")?.is_none());
[INFO] [stdout] 84 | |         db.set("key", &"value")?;
[INFO] [stdout] 85 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] 90 | |     })
[INFO] [stdout]    | |______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout]  95 | /     test_db_and_tables!(|db| {
[INFO] [stdout]  96 | |         db.set("key", &"value")?;
[INFO] [stdout]  97 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout]  98 | |         db.remove("key")?;
[INFO] [stdout]  99 | |         assert!(db.get::<String>("key")?.is_none());
[INFO] [stdout] 100 | |         db.remove("key")?; // should not error
[INFO] [stdout] 101 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 106 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 107 | |         assert!(!db.contains("key")?);
[INFO] [stdout] 108 | |         assert!(!db.contains_key("key")?);
[INFO] [stdout] 109 | |         assert!(!db.has("key")?);
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |         assert!(!db.has("key")?);
[INFO] [stdout] 118 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 123 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 124 | |         assert_eq!(db.keys()?.len(), 0);
[INFO] [stdout] 125 | |         assert_eq!(db.values::<String>()?.len(), 0);
[INFO] [stdout] 126 | |         assert_eq!(db.entries::<String>()?.len(), 0);
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |         assert_eq!(expected, reality);
[INFO] [stdout] 177 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 208 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 209 | |         db.set(
[INFO] [stdout] 210 | |             "user1",
[INFO] [stdout] 211 | |             &UserV1 {
[INFO] [stdout] ...   |
[INFO] [stdout] 239 | |         );
[INFO] [stdout] 240 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 253 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 254 | |         assert_eq!(db.get_or("key", "default".to_owned())?, "default");
[INFO] [stdout] 255 | |         db.set("key", &"value")?;
[INFO] [stdout] 256 | |         assert_eq!(db.get_or("key", "default".to_owned())?, "value");
[INFO] [stdout] ...   |
[INFO] [stdout] 270 | |         );
[INFO] [stdout] 271 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 276 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 277 | |         assert_eq!(db.get_or_insert("key", "default".to_owned())?, "default");
[INFO] [stdout] 278 | |         assert_eq!(db.get_or_insert("key", "hello".to_owned())?, "default");
[INFO] [stdout] ...   |
[INFO] [stdout] 290 | |         assert!(db.get::<MyStr>("key3")?.is_some());
[INFO] [stdout] 291 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.81s
[INFO] [stderr] crater-edition-check: dbless v0.2.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking dbless v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/tests.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]    |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 52 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 53 | |         db.set("key2", &"value")?; // overwritten 2 lines later
[INFO] [stdout] 54 | |         db.set("key1", &"value")?;
[INFO] [stdout] 55 | |         db.set("key2", &1234)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |         assert_eq!(db.entries::<i32>()?.len(), 0);
[INFO] [stdout] 77 | |     })
[INFO] [stdout]    | |______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout]    = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/tests.rs:22:32
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]    |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 82 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 83 | |         assert!(db.get::<String>("key")?.is_none());
[INFO] [stdout] 84 | |         db.set("key", &"value")?;
[INFO] [stdout] 85 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] 90 | |     })
[INFO] [stdout]    | |______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout]  95 | /     test_db_and_tables!(|db| {
[INFO] [stdout]  96 | |         db.set("key", &"value")?;
[INFO] [stdout]  97 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout]  98 | |         db.remove("key")?;
[INFO] [stdout]  99 | |         assert!(db.get::<String>("key")?.is_none());
[INFO] [stdout] 100 | |         db.remove("key")?; // should not error
[INFO] [stdout] 101 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 106 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 107 | |         assert!(!db.contains("key")?);
[INFO] [stdout] 108 | |         assert!(!db.contains_key("key")?);
[INFO] [stdout] 109 | |         assert!(!db.has("key")?);
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |         assert!(!db.has("key")?);
[INFO] [stdout] 118 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 123 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 124 | |         assert_eq!(db.keys()?.len(), 0);
[INFO] [stdout] 125 | |         assert_eq!(db.values::<String>()?.len(), 0);
[INFO] [stdout] 126 | |         assert_eq!(db.entries::<String>()?.len(), 0);
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |         assert_eq!(expected, reality);
[INFO] [stdout] 177 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 208 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 209 | |         db.set(
[INFO] [stdout] 210 | |             "user1",
[INFO] [stdout] 211 | |             &UserV1 {
[INFO] [stdout] ...   |
[INFO] [stdout] 239 | |         );
[INFO] [stdout] 240 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 253 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 254 | |         assert_eq!(db.get_or("key", "default".to_owned())?, "default");
[INFO] [stdout] 255 | |         db.set("key", &"value")?;
[INFO] [stdout] 256 | |         assert_eq!(db.get_or("key", "default".to_owned())?, "value");
[INFO] [stdout] ...   |
[INFO] [stdout] 270 | |         );
[INFO] [stdout] 271 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/tests.rs:22:32
[INFO] [stdout]     |
[INFO] [stdout]  22 |           let mut $db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                                  ^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 276 | /     test_db_and_tables!(|db| {
[INFO] [stdout] 277 | |         assert_eq!(db.get_or_insert("key", "default".to_owned())?, "default");
[INFO] [stdout] 278 | |         assert_eq!(db.get_or_insert("key", "hello".to_owned())?, "default");
[INFO] [stdout] ...   |
[INFO] [stdout] 290 | |         assert!(db.get::<MyStr>("key3")?.is_some());
[INFO] [stdout] 291 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this error originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dbless` (lib test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5", kill_on_drop: false }`
[INFO] [stdout] 43f595578ed40567ad9b8d8cfa52932d1745b1d6bc08442ea70d89598f4cc7d5
